﻿#region Using Directives

using System;

#endregion Using Directives

namespace SharePointStu.CAMLHelper
{
	/// <summary>
	/// Invalid Guid for field exception class.
	/// </summary>
	public class InvalidGuidForFieldException : BaseException
	{
		#region Constructors and Destructors

		/// <summary>
		/// Initialises a new instance of the <see cref="T:SharePointStu.CAMLHelper.InvalidGuidForFieldException"/> class.
		/// </summary>
		/// <param name="field">The field that should be a Guid value.</param>
		public InvalidGuidForFieldException(string field)
		{
			string s = Exceptions.InvalidGuidForField;
			_msg = string.Format(s, field);
		}

		#endregion Constructors and Destructors
	}
}
